From: LLVM Packaging Team Date: Thu, 27 Jan 2022 21:21:16 +0000 (+0000) Subject: bootstrap-with-openmp-version-export-missing X-Git-Tag: archive/raspbian/1%11.1.0-6+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=942caafff4a6444f0cfac94ec1bef40f1fa34db4;p=llvm-toolchain-11.git bootstrap-with-openmp-version-export-missing =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name bootstrap-with-openmp-version-export-missing.diff --- diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt index 19423f58c..1bcabe117 100644 --- a/openmp/runtime/src/CMakeLists.txt +++ b/openmp/runtime/src/CMakeLists.txt @@ -168,7 +168,8 @@ endif() # Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS) -target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}) +target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS} + "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt") # Create *.inc before compiling any sources # objects depend on : .inc files